package com.springboot2.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.springboot2.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

//@Mapper
//public interface BookDao {
////     手写 并不是
//    @Select("select * from tbl_book where id = ${id}")
//    Book getById(Integer id);
//}
//dao 数据层
@Mapper
public interface BookDao extends BaseMapper<Book> {


}